how to simulate esp32 with temperature sensor